using System.DirectoryServices;
using System.IO;
using System.Runtime.Serialization;
using System.Xml;

namespace FaceProject;

[DataContract(Name = "秒展科技")]
public class Config
{
    [DataMember(Name = "窗口宽度", Order = 0)] public int Width { get; set; }

    [DataMember(Name = "窗口高度", Order = 1)] public int Height { get; set; }

    [DataMember(Name = "横向缩放比例", Order = 2)]
    public double ScaleX { get; set; }

    [DataMember(Name = "纵向缩放比例", Order = 3)]
    public double ScaleY { get; set; }

    [DataMember(Name = "摄像头编号", Order = 4)]
    public int CaptureIndex { get; set; }

    [DataMember(Name = "摄像头捕捉宽度", Order = 5)]
    public int CaptureWidth { get; set; }

    [DataMember(Name = "摄像头捕捉高度", Order = 6)]
    public int CaptureHeight { get; set; }

    [DataMember(Name = "拍照倒计时秒数", Order = 7)]
    public int CountSecond { get; set; }

    [DataMember(Name = "瘦脸算法的液化半径", Order = 8)]
    public double Radius { get; set; }

    [DataMember(Name = "瘦脸的强度系数", Order = 9)]
    public float k { get; set; }

    [DataMember(Name = "首页位置坐标", Order = 10)]
    public int HomePageIndex { get; set; }

    [DataMember(Name = "窗口距顶部距离", Order = 11)]
    public int WindowTop { get; set; }

    [DataMember(Name = "窗口距左侧距离", Order = 12)]
    public int WindowLeft { get; set; }

    [DataMember(Name = "返回首页时间分钟", Order = 13)]
    public double BackHomeTime { get; set; }

    [DataMember(Name = "是否打印点0不打印1打印", Order = 14)]
    public int isShowPoint { get; set; }

    [DataMember(Name = "离的最近距离", Order = 14)]
    public int FaceMaxWidth { get; set; }

    [DataMember(Name = "离的最远距离", Order = 14)]
    public int FaceMinWidth { get; set; }
}